<?php

class Yz_HTTP_Exception
    extends Yz_Exception
{

    protected $defaultMessage = 'Script execution failed';
    protected $HTTPCode = Yz_HTTP_Response::STATUS_INTERNAL_SERVER_ERROR;

    public function getHTTPCode()
    {
        return $this->HTTPCode;
    }

} // class

